<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

    <f:view contentType="text/html">
        <h:head>
            <f:facet name="first">
                <meta content='text/html; charset=UTF-8' http-equiv="Content-Type"/>
                <title>Tiendita UGB</title>
            </f:facet>
        </h:head>

        <h:body>

            <p:layout fullPage="true">

                <p:layoutUnit position="north" size="100" resizable="true" closable="true" collapsible="true">
                    Header
                </p:layoutUnit>

                <p:layoutUnit position="south" size="100" closable="true" collapsible="true">
                    <center>Pre-especializacion Java EE Ingenieria en Sistamas 2013</center>
                </p:layoutUnit>

                <p:layoutUnit position="west" size="175" header="Ocultar" collapsible="true">
                    
                </p:layoutUnit>

                <p:layoutUnit position="center">
                    <center><h3>Vista Cliente</h3>
                 
                <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewClienteLabel_IDCliente}"/>
                    <h:outputText value="#{clienteController.selected.IDCliente}" title="#{bundle.ViewClienteTitle_IDCliente}"/>
                    <h:outputText value="#{bundle.ViewClienteLabel_empresa}"/>
                    <h:outputText value="#{clienteController.selected.empresa}" title="#{bundle.ViewClienteTitle_empresa}"/>
                    <h:outputText value="#{bundle.ViewClienteLabel_nombres}"/>
                    <h:outputText value="#{clienteController.selected.nombres}" title="#{bundle.ViewClienteTitle_nombres}"/>
                    <h:outputText value="#{bundle.ViewClienteLabel_apellidos}"/>
                    <h:outputText value="#{clienteController.selected.apellidos}" title="#{bundle.ViewClienteTitle_apellidos}"/>
                    <h:outputText value="#{bundle.ViewClienteLabel_puesto}"/>
                    <h:outputText value="#{clienteController.selected.puesto}" title="#{bundle.ViewClienteTitle_puesto}"/>
                    <h:outputText value="#{bundle.ViewClienteLabel_telefono}"/>
                    <h:outputText value="#{clienteController.selected.telefono}" title="#{bundle.ViewClienteTitle_telefono}"/>
                </h:panelGrid>
                <br /><br />
                <h:commandLink action="#{clienteController.destroyAndView}" value="#{bundle.ViewClienteDestroyLink}"/>
                <br />
                <br />
                <h:link outcome="Edit" value="#{bundle.ViewClienteEditLink}"/>
                <br /><br />
                <h:commandLink action="#{clienteController.prepareCreate}" value="#{bundle.ViewClienteCreateLink}" />
                <br /><br />
                <h:commandLink action="#{clienteController.prepareList}" value="#{bundle.ViewClienteShowAllLink}"/>
                <br />
                <br />
                <h:link outcome="/indexs" value="#{bundle.ViewClienteIndexLink}"/>

            </h:form></center>
                    
                </p:layoutUnit>

            </p:layout>

        </h:body>

    </f:view>
</html>

